package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.CommunityRoomResident;

/**
 * roomsResidentService接口
 * 
 * @author yhb
 * @date 2024-03-29
 */
public interface ICommunityRoomResidentService 
{
    /**
     * 查询roomsResident
     * 
     * @param id roomsResident主键
     * @return roomsResident
     */
    public CommunityRoomResident selectCommunityRoomResidentById(Long id);

    /**
     * 查询roomsResident列表
     * 
     * @param communityRoomResident roomsResident
     * @return roomsResident集合
     */
    public List<CommunityRoomResident> selectCommunityRoomResidentList(CommunityRoomResident communityRoomResident);

    /**
     * 新增roomsResident
     * 
     * @param communityRoomResident roomsResident
     * @return 结果
     */
    public int insertCommunityRoomResident(CommunityRoomResident communityRoomResident);

    /**
     * 修改roomsResident
     * 
     * @param communityRoomResident roomsResident
     * @return 结果
     */
    public int updateCommunityRoomResident(CommunityRoomResident communityRoomResident);

    /**
     * 批量删除roomsResident
     * 
     * @param ids 需要删除的roomsResident主键集合
     * @return 结果
     */
    public int deleteCommunityRoomResidentByIds(CommunityRoomResident communityRoomResident);

    /**
     * 删除roomsResident信息
     * 
     * @param id roomsResident主键
     * @return 结果
     */
    public int deleteCommunityRoomResidentById(int id);
}
